package com.salelogistics.system.api.domain;

import com.salelogistics.common.core.annotation.Excel;
import com.salelogistics.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 标段对象 bas_lot
 * 
 * @author ruoyi
 * @date 2023-07-09
 */
public class BasLot extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编码 */
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 英里(1英里约1609米) */
    @Excel(name = "英里(1英里约1609米)")
    private BigDecimal miles;

    /** 项目编码 */
    @Excel(name = "项目编码")
    private String projiectCode;

    /** 构建者编码 */
    @Excel(name = "构建者")
    private String builder;

    /** 地址 */
    @Excel(name = "地址")
    private String addr;

    /** 检查人(负责人) */
    @Excel(name = "检查人(负责人)")
    private String checkMan;

    /** 负责人号码 */
    @Excel(name = "负责人号码")
    private String checkTel;

    /** 最近一次修改人 */
    private String editedBy;

    /** 最近一次修改时间 */
    private String editedTime;

    /** 启用状态 */
    private Long status;

    /** 删除状态 */
    private Long isDeleted;

    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMiles(BigDecimal miles) 
    {
        this.miles = miles;
    }

    public BigDecimal getMiles() 
    {
        return miles;
    }
    public void setProjiectCode(String projiectCode)
    {
        this.projiectCode = projiectCode;
    }

    public String getProjiectCode() 
    {
        return projiectCode;
    }
    public void setBuilder(String builder)
    {
        this.builder = builder;
    }

    public String getBuilder()
    {
        return builder;
    }
    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }
    public void setCheckMan(String checkMan) 
    {
        this.checkMan = checkMan;
    }

    public String getCheckMan() 
    {
        return checkMan;
    }
    public void setCheckTel(String checkTel) 
    {
        this.checkTel = checkTel;
    }

    public String getCheckTel() 
    {
        return checkTel;
    }
    public void setEditedBy(String editedBy) 
    {
        this.editedBy = editedBy;
    }

    public String getEditedBy() 
    {
        return editedBy;
    }
    public void setEditedTime(String editedTime) 
    {
        this.editedTime = editedTime;
    }

    public String getEditedTime() 
    {
        return editedTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("code", getCode())
            .append("name", getName())
            .append("miles", getMiles())
            .append("projiectCode", getProjiectCode())
            .append("builder", getBuilder())
            .append("addr", getAddr())
            .append("checkMan", getCheckMan())
            .append("checkTel", getCheckTel())
            .append("createTime", getCreateTime())
            .append("editedBy", getEditedBy())
            .append("editedTime", getEditedTime())
            .append("status", getStatus())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
